[XENOPROF] Some fixes for xenoprof passive domain support.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 10 Jul 2006 15:05:44 +0000 (16:05 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 10 Jul 2006 15:05:44 +0000 (16:05 +0100)
commitc11016e71cb6173a5666428fc4f7cc691db38571
tree1d044383a1bc661ebcba34a11a45edd540748cda
parent1a1f70afb8b93d956ddbd8b696a93fec1418d4c7
[XENOPROF] Some fixes for xenoprof passive domain support.

Currently, passive domain samples are being assigned to the wrong
kernel functions. This patch fixes this problem. In addition the patch changes the
encoding of domain switch ESCAPE codes (marks used to separate samples
in oprofile  buffers associated with different domains). Instead of
using 2 codes, one  for START and one for END of passive domain
samples, a single escape CODE value is used to indicate a domain switch (no
need for a STOP followed by a START). Finally there some other minor style
fixes.

Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
linux-2.6-xen-sparse/arch/i386/oprofile/xenoprof.c
patches/linux-2.6.16.13/xenoprof-generic.patch